package com.houmeiyuan.huiguniang.modles.domain;


import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;


public class OrderForPay {

    @NotNull(message = "openId 必传")
    private String openId;
    @NotNull(message = "收获地址必填")
    private Integer addressId;
    @Min(value = 0)
    @NotNull(message = "价格必须填写")
    private int money;
    @NotNull
    private List<ShopCar> list;


    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public List<ShopCar> getList() {
        return list;
    }

    public void setList(List<ShopCar> list) {
        this.list = list;
    }


}
